var myChart2 = echarts.init(document.getElementById('myChart5'));
var dataCount = 300;
var categoryData = ['A','B','C','D','E']
var valueData = [10,20,30,40,50]
var valueData1 = [50,40,30,20,10]
var option2 = {
    title: {
        text: echarts.format.addCommas(dataCount) + ' Data',
        left: 10
    },
    toolbox: {
        feature: {
            dataZoom: {
                yAxisIndex: false
            },
            saveAsImage: {
                pixelRatio: 2
            }
        }
    },
    tooltip: {
        trigger: 'axis',
        axisPointer: {
            type: 'shadow'
        },
        formatter: '{b0} <br/> 挂牌价指数:{c1} <br/> 挂牌量指数:{c0}'
    },
    grid: {
        bottom: 90
    },
    dataZoom: [{
        type: 'inside'
    }, {
        type: 'slider'
    }],
    xAxis: [{
        data: categoryData,
        silent: false,
        splitLine: {
            show: false
        },
        splitArea: {
            show: false
        }
    }],
    yAxis: [{
        name: '挂牌价指数(线)',
        splitArea: {
            show: false
        },
    },{
        name: '挂牌量指数(柱)',
        splitArea: {
            show: false
        },
    }],
    series: [{
        type: 'bar',
        data: valueData,
        yAxis: 1,
        large: true
    },
        {
            type: 'line',
            data: valueData1,
            yAxisIndex: 1,
            large: true
        }]
};

myChart2.setOption(option2);